<p id="notice"><%= notice %></p>

<p>
  <b>Name:</b>
  <%= @book.name %>
</p>

<p>
  <b>Author:</b>
  <%= @book.author %>
</p>

<p>
  <b>Publisher:</b>
  <%= @book.publisher %>
</p>

<p>
  <b>Year:</b>
  <%= @book.year %>
</p>

<p>
  <b>Total:</b>
  <%= @book.total %>
</p>

<p>
  <b>Remain:</b>
  <%= @book.remain %>
</p>

<p>
  <b>Total grade:</b>
  <%= @book.total_grade %>
</p>

<p>
  <b>Total time:</b>
  <%= @book.total_time %>
</p>

<p>
  <b>Image url:</b>
  <%= @book.image_url %>
</p>


<%= link_to 'Edit', edit_book_path(@book) %> |
<%= link_to 'Back', books_path %>
